package com.yhs.YShop.moudle.user.model;

import java.io.Serializable;

import javax.persistence.*;

@Entity
@Table(name="jshop_user_log")
public class UserLog implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3867349042952182594L;
	@Id
	private Integer id;
	@Column(name = "user_id")
	private Integer userId;//用户ID
	private Integer state;//登录 1  退出2,3注册
	private Integer ctime;//退出时间
	private String params;//参数
	private String ip;//ip地址
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Integer getCtime() {
		return ctime;
	}
	public void setCtime(Integer ctime) {
		this.ctime = ctime;
	}
	public String getParams() {
		return params;
	}
	public void setParams(String params) {
		this.params = params;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	
	

}
